cmake_minimum_required(VERSION 3.15)
project(calc)                                                                                                                                                                                                                                                                                                                             

#搜索源文件
aux_source_directory(./ SRC)
#头文件路径
include_directories(${HEADPATH})
#静态库路径
set(LIBRARY_OUTPUT_PATH ${LIBPATH})
#静态库
add_library(${CALCLIB} STATIC ${SRC})                                                                                                                                                                                                                                                                                                                                                                             